/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */

package run;

import core.ConnexionCore;
import core.ProcessOwnerCore;
import model.Department;

/**
 *
 * @author phinguyen
 */
public class ConnexionTest {

    /**
     * @param args the command line arguments
     */
    public static void main(String[] args) {
//        // TODO code application logic here
//        ConnexionCore connexionCore = new ConnexionCore();
//        System.out.println(connexionCore.getLstEmp());
//        System.out.println(connexionCore.getLstProcessOwner());
//        System.out.println(connexionCore.getLstSeller());
//        System.out.println(connexionCore.verifEmp("phinguyen@airbusgroup.com", "isis"));
//        
//        System.out.println(connexionCore.getDepartmentEmp("phinguyen@airbusgroup.com"));
//        System.out.println(connexionCore.getResponsableDpt(connexionCore.getDepartmentEmp("phinguyen@airbusgroup.com")));
        ProcessOwnerCore poc = new ProcessOwnerCore();
        Department dep = new Department("LOGISTICS");
        System.out.println(poc.getAllDepartment());
        System.out.println("departement nommé logistics : " + poc.getdepepartment("LOGISTICS"));
           // poc.saveStep(steptitle[i],poc.getdepepartment(department[i]) );
        //System.out.println("result" +poc.getStepbytitle("xx")); 
        poc.saveStep("za", poc.getdepepartment("LOGISTICS"));
        
    }
    
}
